package net.alan.modules.repository;

import net.alan.modules.bean.NoteCatalog;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Author 李岩飞
 * Email eliyanfei@126.com
 * 2017/11/22
 */
public interface NoteCatalogRepository extends JpaRepository<NoteCatalog, Integer> {

    public List<NoteCatalog> findByUserId(Integer userId);

}
